package homework;

public class HomeWork13 {
    int []arr=new int[10];
    public void remove(int key){
        int mark=0;
        for (int i = 0; i < arr.length; i++) {
            if(arr[i]==key){
               mark=i;
            }
        }
        for (int i = mark; i <arr.length-1 ; i++) {
            arr[i]=arr[i+1];
        }
    }

    public static void main(String[] args) {
    }
}
